﻿//using System.Collections.Generic;
//using System.Web.Mvc;
//using System;
//using Lari.Web.Models;
//using Lari.Web.Utility;

//namespace KendoUI.Mvc.Razor.App.Controllers
//{
   
//    public class HomeController : LariController
//    {
//        //
//        // GET: /Home/
//        [Authorize]
//        public ActionResult Index()
//        {
//            return View();
//        }

//         //[Authorize]
//        public ActionResult AutoCompleteSample()
//        {
//            return View(GetPersonList());
//        }

//        public ActionResult ChartSample()
//        {
//            //throw new Exception("HKKK");
//            return View(GetPersonList());
//        }

//        public ActionResult ComboBoxSample()
//        {
//            return View(GetPersonList());
//        }

//        public ActionResult DropDownListSample()
//        {
//            return View(GetPersonList());
//        }

//        public ActionResult GridSample()
//        {
//            return View(GetPersonList());
//        }

//        public ActionResult MenuSample()
//        {
//            return View();
//        }

//        public ActionResult PanelBarSample()
//        {
//            return View();
//        }

//        public ActionResult SliderSample()
//        {
//            return View();
//        }

//        public ActionResult SplitterSample()
//        {
//            return View();
//        }

//        public ActionResult RangeSliderSample()
//        {
//            return View();
//        }

//        public ActionResult TabStripSample()
//        {
//            return View();
//        }

//        public ActionResult TreeViewSample()
//        {
//            return View();
//        }

//        public ActionResult WindowSample()
//        {
//            return View();
//        }

//        public JsonResult People()
//        {
//            return Json(GetPersonList(), JsonRequestBehavior.AllowGet);
//        }

//        private IList<Person> GetPersonList()
//        {
//            IList<Person> personList = new List<Person>();
//            personList.Add(new Person { Id = 1, FirstName = "William", LastName = "Adama", Episodes = 73 });
//            personList.Add(new Person { Id = 2, FirstName = "Laura", LastName = "Roslin", Episodes = 73 });
//            personList.Add(new Person { Id = 3, FirstName = "Gaius", LastName = "Baltar", Episodes = 73 });
//            personList.Add(new Person { Id = 4, FirstName = "Number", LastName = "Six", Episodes = 73 });
//            personList.Add(new Person { Id = 5, FirstName = "Saul", LastName = "Tigh", Episodes = 69 });
//            personList.Add(new Person { Id = 6, FirstName = "Kara", LastName = "Thrace", Episodes = 71 });
//            personList.Add(new Person { Id = 7, FirstName = "Lee", LastName = "Adama", Episodes = 73 });
//            return personList;
//        }
//    }
//}
